﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace SilverlightViewer.WebPart
{
    public partial class SilverlightViewer : System.Web.UI.UserControl
    {
        //public SLHost WebPart { get; set; }
        public string silverlightLocation { get; set; }
        public double width { get; set; }
        public double height { get; set; }
        public string parseHeight = "";
        public string parseWidth = "";
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            parseHeight = height.ToString() + "px";
            parseWidth = width.ToString() + "px";
        }
    }
}
